package com.evl.common.persistence.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 车票信息
 * </p>
 *
 * @author yangliwei
 * @since 2017-06-22
 */
@TableName("train_ticket")
public class TrainTicket extends Model<TrainTicket> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
	private Integer id;
    /**
     * 常用联系人id
     */
	@TableField("contact_id")
	private Integer contactId;
    /**
     * 车票订单id
     */
	@TableField("order_id")
	private Integer orderId;
    /**
     * 调度座位id
     */
	@TableField("seat_id")
	private Integer seatId;
    /**
     * 座位号
     */
	@TableField("seat_no")
	private String seatNo;
    /**
     * 坐席类型
     */
	@TableField("seat_type")
	private String seatType;
    /**
     * 车票状态
     */
	private String status;
    /**
     * 车票价格
     */
	@TableField("price")
	private String price;

    /**
     * 车票种类
     */
	@TableField("ticket_type")
	private String ticketType;
	
    /**
     * 二维码
     */
	@TableField("qrcode")
	private String qrcode;
	
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getContactId() {
		return contactId;
	}

	public void setContactId(Integer contactId) {
		this.contactId = contactId;
	}

	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public Integer getSeatId() {
		return seatId;
	}

	public void setSeatId(Integer seatId) {
		this.seatId = seatId;
	}

	public String getSeatNo() {
		return seatNo;
	}

	public void setSeatNo(String seatNo) {
		this.seatNo = seatNo;
	}

	public String getSeatType() {
		return seatType;
	}

	public void setSeatType(String seatType) {
		this.seatType = seatType;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getTicketType() {
		return ticketType;
	}

	public void setTicketType(String ticketType) {
		this.ticketType = ticketType;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getQrcode() {
		return qrcode;
	}

	public void setQrcode(String qrcode) {
		this.qrcode = qrcode;
	}

}
